﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;

namespace QuanLyPhongMach.Model
{
    [Table(Name = "Benh")]
    public class CBenh
    {
        #region Propertes
        [Column(Name = "MaLoaiBenh", IsPrimaryKey = true)]
        public int MaLoaiBenh { get; set; }

        [Column(Name = "TenBenh")]
        public string TenBenh { get; set; }
        #endregion

        #region Constructor
        public CBenh()
        { 
        }

        public CBenh(string tenbenh)
        {
            this.TenBenh = tenbenh;
        }
        #endregion
    }
}
